how to create barcode generator using python